<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<form:form commandName="coordinate" cssClass="form-horizontal" role="form">
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right" for="taskName">任务名</label>
		<div class="col-sm-4">
			<input type="text" name="taskName" id="taskName" placeholder="任务名"  class="form-control ">
		</div>
		
		<label class="col-sm-2 control-label no-padding-right" for="taskContent">任务内容</label>
		<div class="col-sm-4">
			<input type="text" name="taskContent" id="taskContent" placeholder="任务内容"  class="form-control ">
		</div>
	</div>

	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right" for="groupType">督查组</label>
		<div class="col-sm-4">
			<input type="text" name="groupType" id="groupType" placeholder="任务名"  class="form-control ">
		</div>

		<label class="col-sm-2 control-label no-padding-right" for="resDept">责任单位</label>
		<div class="col-sm-4">
			<input type="text" name="resDept" id="resDept" placeholder="责任单位" value="${coordinate.resDept}" class="form-control ">
		</div>
	</div>

	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right" for="projectName">项目名</label>
		<div class="col-sm-4">
			<input type="text" name="projectName" id="projectName" placeholder="任务名" value="${coordinate.projectName}"  class="form-control ">
		</div>

		<label class="col-sm-2 control-label no-padding-right" for="contact">联系人</label>
		<div class="col-sm-4">
			<input type="text" name="contact" id="contact" placeholder="责任单位" value="${coordinate.contact}" class="form-control ">
		</div>
	</div>

	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right" for="baseInfo">基本情况</label>
		<div class="col-sm-10">
			<textarea rows="5" id="baseInfo" name="baseInfo" placeholder="基本情况" class="form-control ">${coordinate.baseInfo}</textarea>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right" for="helpInfo">需协调事项</label>
		<div class="col-sm-10">
			<textarea id="helpInfo" name="helpInfo" rows="5" placeholder="需协调事项" class="form-control ">${coordinate.helpInfo}</textarea>
		</div>
	</div>

	<div class="form-group">
		<label class="col-sm-2 control-label no-padding-right" for="involveUnit">部门</label>
		<div class="col-sm-4">
			<input type="text" name="involveUnit" id="involveUnit" placeholder="基本情况" value="${coordinate.involveUnit}"  class="form-control ">
		</div>

		<label class="col-sm-2 control-label no-padding-right" for="fenguanLeader">分管领导</label>
		<div class="col-sm-4">
			<input type="text" name="fenguanLeader" id="fenguanLeader" placeholder="需协调事项" value="${coordinate.fenguanLeader}" class="form-control ">
		</div>
	</div>

	<div class="form-group">
	<%--	<label class="col-sm-2 control-label no-padding-right" for="involveUnit">开始时间</label>
		<div class="col-sm-4">
			<input type="text" name="startDate" id="startDate" placeholder="基本情况"  class="form-control ">
		</div>--%>

		<label class="col-sm-2 control-label no-padding-right" for="startDate">开始时间</label>
		<div class="col-sm-4">
			<input id="startDate"  type="text" name="startDate" class="form-control date-upd date-picker"  />
		</div>


		<%--<label class="col-sm-2 control-label no-padding-right" for="endDate">结束时间</label>
		<div class="col-sm-4">
			<input type="text" name="endDate" id="endDate" placeholder="需协调事项"  class="form-control ">
		</div>--%>

		<label class="col-sm-2 control-label no-padding-right" for="endDate">结束时间</label>
		<div class="col-sm-4">
			<input id="endDate"  type="text" name="endDate" class="form-control date-upd date-picker"  />
		</div>

	</div>


	<form:hidden path="sysId"/>
</form:form>
<%--</form:form>
	<form:form commandName="supervisionTask" cssClass="form-horizontal" role="form">
		<label class="col-sm-2 control-label no-padding-right" for="inspectors">督查组</label>
		<div class="col-sm-4">
			<input type="text" name="inspectors" id="inspectors" placeholder="督查组" value="${supervisionTask.inspectors}" class="form-control ">
		</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="startDate">任务开始时间</label>
			<div class="col-sm-4">
				<input type="text" name="startDate" id="startDate" placeholder="开始时间" value="${supervisionTask.startDate}" class="form-control ">
			</div>

			<label class="col-sm-2 control-label no-padding-right" for="endDate">任务结束时间</label>
			<div class="col-sm-4">
				<input type="text" name="endDate" id="endDate" placeholder="任务内容" value="${supervisionTask.endDate}" class="form-control ">
			</div>
		</div>
</form:form>--%>
<%--//流程图--%>
<script type="text/javascript">
    jQuery(function($) {
        $('.date-picker').datepicker({
            inline: true,
            format:"yyyymmdd",
            autoclose: true,
            todayHighlight: true,
            language: 'cn'
        })
        //show datepicker when clicking on the icon
            .next().on(ace.click_event, function(){
            $(this).prev().focus();
        });
    });
</script>